package com.zh.spring.repository;

import com.zh.spring.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * 描述：com.zh.spring.repository
 *
 * @author 80002023
 *         2016/12/29.
 * @version 1.0
 * @since 1.8
 */
public interface UserRepository extends MongoRepository<User, Long> {

    User findByName(String username);
}
